export default ({
  app
}) => {
  app.router.afterEach((to, from) => {
    // if (from.path == "/user/login" && to.path == "/post/create") {
    //     console.log("从登录页到发布文章页");
    //     console.log(JSON.parse(localStorage.getItem("curdraft")));
    //     console.log(this.form);
    // }
  })
}
